package pri.zxx.webdemo.entity;

/**
 * @author Twilight
 * @desc
 * @createTime 2020-06-06-12:26
 */
public enum tEnum {
    OK(0, "成功"), FAILURE(1, "failure"), EXCEPTION(2, "exception");

    private Integer code;
    private String tip;

    tEnum() {
    }

    tEnum(Integer code, String tip) {
        this.code = code;
        this.tip = tip;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getTip() {
        return tip;
    }

    public void setTip(String tip) {
        this.tip = tip;
    }
}
